package com.sky.mapper;

import com.sky.dto.GoodsSalesDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;


@Mapper
public interface ReportMapper {


    Double getTurnoverStatistics(Map map);

    Integer getNewUser(Map map);

    Integer getTotalUser(Map map);

    Integer getValidOrder(Map map);

    Integer getTotalOrder(Map map);

    Integer getTotalOrderNum(Map map);

    Integer getValidOrderNum(Map map);

    List<GoodsSalesDTO> getSalesTop10Name(LocalDateTime begin,LocalDateTime end);
}
